-- GENERATED SPELL FOR [Gryphoneer Windbellow] --


function spell0_20235(pUnit, Event) --@Aerial Assault Flight (Alliance),n/a--
pUnit:FullCastSpellOnTarget(33899,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20235', 571, 1)
end

function spell1_20235(pUnit, Event) --@Taxi - Hellfire Peninsula - Shatter Point to Beach Head,n/a--
pUnit:FullCastSpellOnTarget(35065,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20235', 538, 1)
end

function Sorts_20235(pUnit, Event)
local choix_sorts_20235 = math.random(0, 1)
if choix_sorts_20235 == 0 then
pUnit:RegisterEvent('spell0_20235', 1, 1)
end
if choix_sorts_20235 == 1 then
pUnit:RegisterEvent('spell1_20235', 1, 1)
end
end

function mob20235_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20235', math.random(1500, 3000), 1)
end

function mob20235_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20235_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20235_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20235, 1, 'mob20235_Action')
RegisterUnitEvent(20235, 2, 'mob20235_Leave')
RegisterUnitEvent(20235, 3, 'mob20235_Kill')
RegisterUnitEvent(20235, 4, 'mob20235_Die')
